package com.stox.services.indicator.model.config;

import com.stox.shared.model.enumeration.BarValue;

public class BaseIndicatorConfig implements SpanAwareConfig, BarValueAwareConfig {

	private int span = 20;
	private BarValue barValue = BarValue.CLOSE;
	
	@Override
	public int getSpan() {
		return span;
	}
	
	public void setSpan(int span) {
		this.span = span;
	}
	
	@Override
	public BarValue getBarValue() {
		return barValue;
	}
	
	public void setBarValue(BarValue barValue) {
		this.barValue = barValue;
	}
	
}
